package org.alex.jdk8.functional;

import java.util.Objects;
import java.util.function.Predicate;

public class PredicatesT1 {
public static void main(String[] args) {
	Predicate<Object> isNull=Objects::isNull;
	System.out.println(isNull.test(null));
	System.out.println(isNull.and((a)-> Objects.nonNull(null)).test("12"));
}
}
